using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.ComponentModel;

namespace Agron.Web.Controls
{
    public partial class PageHeaderControl : System.Web.UI.UserControl
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="PageHeaderControl"/> class.
        /// </summary>
        public PageHeaderControl() { }

        /// <summary>
        /// Gets or sets the page title.
        /// </summary>
        /// <value>The page title.</value>
        [Localizable(true)]
        public string PageTitle { get { return this.pageTitleLocalize.Text; } set { this.pageTitleLocalize.Text = value; } }

        /// <summary>
        /// Gets or sets the location of an image to display in the <see cref="PageHeaderControl"/> control.
        /// </summary>
        /// <value>The location of an image to display in the <see cref="PageHeaderControl"/> control.</value>
        public string ImageUrl { get { return this.pageIconImage.ImageUrl; } set { this.pageIconImage.ImageUrl = value; } }

        /// <summary>
        /// Gets or sets the image alternate text when the <see cref="PageHeaderControl.ImageUrl"/> is unavailable. Browsers that support the ToolTips feature display this text as a ToolTip.
        /// </summary>
        /// <value>The image alternate text when the <see cref="PageHeaderControl.ImageUrl"/> is unavailable. Browsers that support the ToolTips feature display this text as a ToolTip.</value>
        [Localizable(true)]
        public string ImageAlternateText { get { return this.pageIconImage.AlternateText; } set { this.pageIconImage.AlternateText = value; } }

        /// <summary>
        /// Gets or sets the page information.
        /// </summary>
        /// <value>The page information.</value>
        [Localizable(true)]
        public string PageInformation { get { return this.pageInformationLabel.Text; } set { this.pageInformationLabel.Text = value; } }
    }
}